﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data.OleDb;

namespace BUS
{
    public class DHBUS
    {
        public List<DatHangDTO> LayDonDHChuaNhap()
        {
            DHDAO dao = new DHDAO();
            return dao.LayDonDHChuaNhap();
        }

        public List<DatHangDTO> LayMaDonHangTrongPhieuNhap(int ma)
        {
            DHDAO dao = new DHDAO();
            return dao.LayMaDonHangTrongPhieuNhap(ma);
        }
        public static OleDbDataAdapter LayMaDHChuaHoanThanh()
        {
            DHDAO dao = new DHDAO();
            return dao.LayMaDHChuaHoanThanh();
        }
    }

    
}
